package com.jcfk.eam.util.bean.codeGenerator;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.core.util.StrUtil;
import lombok.Data;

@Data
public class MouldCodeGenerator implements CodeGenerator{
    @Override
    public String build() {
        return StrUtil.format("E{}{}", DateUtil.format(DateUtil.date(),"yyyyMMddHHmmss"),
                RandomUtil.randomString("0123456789",3));
    }
}
